import { Injectable } from '@nestjs/common'

@Injectable()
export class AppService {
  getHello(): string {
    return 'Hello World!!!'
  }
  getAllData(params): string {
    return `get all data ${params}`
  }
  addData(body) {
    return `insert a data ${body}`
  }
  putData(query, body) {
    return `update a data ${query} ${body}`
  }
  deleteData(params, body) {
    return `deletet a data ${params} ${body}`
  }
}
